翻訳と辞書
Words near each other
・ HTX
・ HTL
・ HTL Buses
・ HTLINGUAL
・ HTLV-III
・ HTM
・ HTM Personenvervoer
・ HTM Skytrac
・ HTMF Mahajanga
・ HTMi
・ HTML
・ HTML Application
・ HTML attribute
・ HTML Components
・ HTML editor
HTML element
・ HTML email
・ HTML sanitization
・ HTML scripting
・ HTML Tidy
・ HTML Working Group
・ HTML+TIME
・ HTML-Kit
・ HTML5
・ HTML5 Audio
・ HTML5 File API
・ HTML5 in mobile devices
・ HTML5 Shiv
・ HTML5 video
・ HTML5test


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

HTML element : ウィキペディア英語版
HTML element

An HTML element is an individual component of an HTML document or web page, once this has been parsed into the Document Object Model. HTML is composed of a tree of HTML elements and other nodes, such as text nodes. Each element can have HTML attributes specified. Elements can also have content, including other elements and text. Many HTML elements represent semantics, or meaning. For example, the title element represents the title of the document.
In the HTML syntax, most elements are written with a start tag and an end tag, with the content in between. An HTML tag is composed of the name of the element, surrounded by angle brackets. An end tag also has a slash after the opening angle bracket, to distinguish it from the start tag. For example, a paragraph, which is represented by the p element, would be written as

In the HTML syntax, most elements are written ...



However, not all of these elements ''require'' the end tag, or even the start tag, to be present. Some elements, the so-called ''void elements'', do not have an end tag. A typical example is the br element, which represents a significant line break, such as in a poem or an address. A void element's behaviour is predefined, and it cannot contain any content or other elements. For example, the address of the dentist in the movie ''Finding Nemo'' would be written as

P. Sherman
42 Wallaby Way
Sydney



When using an XHTML DTD, it is required to open and close the element with a single tag. To specify that it is a void element, a "/" is included at the end of the tag (not to be confused with the "/" at the beginning of a closing tag).

P. Sherman
42 Wallaby Way
Sydney



HTML attributes are specified inside the start tag. For example, the abbr element, which represents an abbreviation, expects a title attribute within its opening tag. This would be written as

abbr.

==Concepts==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「HTML element」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.